# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test03
# Description:
# Author:       98745
# Date:         2019/3/16
#-------------------------------------------------------------------------------

class Animal:
    def __init__(self):
        #构造方法
        print('这是构造函数')

    # def __init__(self):
    #     pass

    def doprint(self,msg):
        print(msg)


if __name__ == '__main__':
    animal = Animal()
    animal.doprint('hello')